home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 21 / AACD 21.iso / AACD / Utilities / Ghostscript / src / gsjconf.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-01-01  |  2.1 KB  |  76 lines

  1. /* Copyright (C) 1994, 1998 Aladdin Enterprises.  All rights reserved.
  2.   
  3.   This file is part of AFPL Ghostscript.
  4.   
  5.   AFPL Ghostscript is distributed with NO WARRANTY OF ANY KIND.  No author or
  6.   distributor accepts any responsibility for the consequences of using it, or
  7.   for whether it serves any particular purpose or works at all, unless he or
  8.   she says so in writing.  Refer to the Aladdin Free Public License (the
  9.   "License") for full details.
  10.   
  11.   Every copy of AFPL Ghostscript must include a copy of the License, normally
  12.   in a plain ASCII text file named PUBLIC.  The License grants you the right
  13.   to copy, modify and redistribute AFPL Ghostscript, but only under certain
  14.   conditions described in the License.  Among other things, the License
  15.   requires that the copyright notice and this notice be preserved on all
  16.   copies.
  17. */
  18.  
  19. /*$Id: gsjconf.h,v 1.2 2000/09/19 19:00:29 lpd Exp $ */
  20. /* jconfig.h file for Independent JPEG Group code */
  21.  
  22. #ifndef gsjconf_INCLUDED
  23. #  define gsjconf_INCLUDED
  24.  
  25. /*
  26.  * We should have the following here:
  27.  
  28. #include "stdpre.h"
  29.  
  30.  * But because of the directory structure used to build the IJG library, we
  31.  * actually concatenate stdpre.h on the front of this file instead to
  32.  * construct the jconfig.h file used for the compilation.
  33.  */
  34.  
  35. #include "arch.h"
  36.  
  37. /* See IJG's jconfig.doc for the contents of this file. */
  38.  
  39. #ifdef __PROTOTYPES__
  40. #  define HAVE_PROTOTYPES
  41. #endif
  42.  
  43. #define HAVE_UNSIGNED_CHAR
  44. #define HAVE_UNSIGNED_SHORT
  45. #undef CHAR_IS_UNSIGNED
  46.  
  47. #ifdef __STDC__            /* is this right? */
  48. #  define HAVE_STDDEF_H
  49. #  define HAVE_STDLIB_H
  50. #endif
  51.  
  52. #undef NEED_BSD_STRINGS        /* WRONG */
  53. #undef NEED_SYS_TYPES_H        /* WRONG */
  54. #undef NEED_FAR_POINTERS
  55. #undef NEED_SHORT_EXTERNAL_NAMES
  56.  
  57. #undef INCOMPLETE_TYPES_BROKEN
  58.  
  59. /* The following is documented in jmemsys.h, not jconfig.doc. */
  60. #if ARCH_SIZEOF_INT <= 2
  61. #  undef MAX_ALLOC_CHUNK
  62. #  define MAX_ALLOC_CHUNK 0xfff0
  63. #endif
  64.  
  65. #ifdef JPEG_INTERNALS
  66.  
  67. #if ARCH_ARITH_RSHIFT == 0
  68. #  define RIGHT_SHIFT_IS_UNSIGNED
  69. #else
  70. #  undef RIGHT_SHIFT_IS_UNSIGNED
  71. #endif
  72.  
  73. #endif /* JPEG_INTERNALS */
  74.  
  75. #endif /* gsjconf_INCLUDED */
  76.